package com.base.bean;

import javax.annotation.PostConstruct;
import javax.faces.bean.RequestScoped;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.base.domain.User;
import com.base.service.UserService;

@Controller
@RequestScoped
public class PaginaBean {

	private String texto;
	
	@Autowired
	private UserService userService;

	@PostConstruct
	public void init() {
		setTexto("Texto Bean");
		//userService.save(user);
	}
	
	public String getTexto() {
		return texto;
	}

	public void setTexto(String texto) {
		this.texto = texto;
	}
	
	
	
}